package com.isljj.web_chat2.mapper;

import com.isljj.web_chat2.model.Message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageMapper {
    void insertMessage(Message message);

    List<Integer> selectMessages(Integer sessionId);

    void delete(Integer sessionId);
}
